from django.conf.urls import url
from areas import views

# urlpatterns = [
#     url(r'^areas/$', views.AreasView.as_view()),
#     url(r'^areas/(?P<pk>\d+)/$', views.SubsAreasView.as_view()),
#
# ]
urlpatterns = [

]

from rest_framework import routers

router = routers.DefaultRouter()
router.register('areas',views.AreasSetView,'areas')
urlpatterns += router.urls